030 exercise example
现在我们有一个练习考试,假设是使用以下问题的逻辑并提出要求。
Now we have an exercise exam let's say is make the logic for the following question use and ask that I.
因此,我们需要五个相等的灯,然后用一除以眼睛和二而不使用计算器指令将一盏神灯放入加法中,用一减二减法。
So we need out five that is equal and do you one magic lamp I into addition with one minus two subtraction with in one divided by eye and two without using calculator instruction.
取以下恒定且精细的结果并将其 120 和 I 引入痛苦。
Take the following constant and fine result and take it 120 and I into pain.
因此,如果您有该软件或者有笔记本,您可以暂停该视频并尝试建立逻辑。
So if you have the software or if you have a notebook you can pause this video and try to make a logic.
所以这会涉及一些falderal收藏的CD或者也许你有自己的逻辑。
So this will involve some CDs falderal collections or maybe you have your own logic.
所以尝试解决这个逻辑。
So try to solve this logic.
否则我现在就给你看结果。
Otherwise I'll show you the results now.
因此,完成此示例的最佳方法是通过方程求解。
So the best way to do this example is solve by equations.
首先将这个方程乘以二。
So first of all take this equation in one multiply by two.
所以确实存在多重争论。
So there really is a multiple argument.
好的。
OK.
我们这里有一个,我在这里做。
And we have one here I do here.
然后将 10 乘以 20。
Then multiply that 10 with the 20.
我们将把这个结果存储在某个电阻器中。
And we will store this result this result in some resistor.
假设 M.W.
Let's say M.W.
4.
4.
好的。
OK.
哪个是。
Which is.
可以五六就看你了。
Can take five six it's up to you.
好的。
OK.
但在这两个例子中,我们都使用了 and 0 和 2 到 20 ,然后是这里给出的。
But in both we have use and zero and two to 20 and then which was given here.
所以我在 1 中是 20,我向外延伸我们有 200。
So I in one is 20 I do extend outward we have 200.
所以这个结果是 200 然后从来没有见过这个点。
So the result of this by is 200 then never saw this spot.
我们稍后会处理这个任务。
We will take care of this mission later.
这一切都在哪里找到的。
Where's all this find.
这是通过减法完成的。
And that is done by subtraction.
所以减法等于减二。
So the subtraction is equal minus two.
曾在这里。
Was here.
所以这在船上也是一样的,20 分钟后我们就到了这里。
So this is same in boats and 20 minutes and we get them here.
所以结果的单位是 M.W.
So that result is is in M.W.
6.
6.
所以这部分不是 M.W.
So this part isn't M.W.
六个 spod 处于 M-W 位置,然后扭转这一切。
six spod is in M-W for then reverse all this.
这是 8 到 22 除以 10 的结果。
This is division and solved and of 8 to 22 either by 10.
是两个。
It's two.
而这场战斗就到了这里。
And this fight comes here.
所以我们从我的方程中得到三个结果。
So we have three results from my equation.
现在我们只需将这两个结果相加即可。
Now we will just add these two results.
然后我们对此感到惊讶。
Then we were surprised with that.
所以我们又得到了一条 ADD 指令。
So we again have an ADD instruction.
这就是我的 M.W. 的结果。
So this is my result of M.W.
4.
4.
所以这个放在这里,最多六个,这个放在这里。
So this goes here and up to six and this goes here.
添加此内容后,我们得到了 M.W. 的结果。
This is added and we have result in M.W.
书房这个 M.W.
den this M.W.
10 是这两者的结果。
10 is the result of these two.
这就是这部分的逻辑。
This this part of the logic.
所以这个 M.W.
So this M.W.
减去10。
10 is subtracted.
再读一遍 M.W.
Read again M.W.
8.
8.
最多用 8 减去 10,最终结果为 0 8。
And up to 10 subtracted with 8 and you have the final result to 0 8.
如果您愿意,可以用计算器检查一下。
If you want you can check that with a calculator.
结果将是 2 0 8。
The result will be 2 0 8.
这就是你可以在 Pusey 中制定的逻辑,并且可以解决这个问题。
So that's logic you can make in the Pusey and you can solve that.
好的。
OK.
现在如果你想让我试试这个。
Now if you want me to try this.
如果你想知道如何隐藏这些块,我的嘴唇就是减法。
And if you want to see how to hide the blocks my lip is subtraction.
所以我会为你提出这个逻辑。
So I will make this logic for you.
好的。
OK.
所以对于我们来说,我们有一个乘法。
So for us we have a multiplication.
所以我要做的就是我就在这里。
So what I do is I'm right here.
你用一除以二得到 1 2 和 1 和 2。
You get 1 2 and 1 and 2 with you in one divided by two.
伙计们,我们刚刚死了。
Men we just died.
地点。
Locations.
好吧,如果你有乘法加减法是分数。
OK if you have multiplication addition subtraction is a fraction of what.
如果你做得很好的话那很好。
That's fine if you're doing good.
让我们先举一个例子,首先乘法表大体上是这样的。
So let's take an example first multiplication table take by and large.
现在,如果您想使用一些输入脉冲进行此计算,那么您已经被这里所吸引。
Now if you want to do this calculation with some input pulse you've been taken in by the here.
否则,您可以将乘法块全部完成。
Otherwise you can do the multiplication block all in one.
所以我会取零。
So I will take and be zero.
我正在使用我自己的数据。
I'm using my own data.
所以我从 和 b 零开始,我是 2,B 是 2。
So I start with and b zero and I am two and B two.
好的。
OK.
我将存储结果并用于。
And I'm going to store the result and be for.
所以这是第一卷和第二卷的问题。
So this is a matter of volume 1 and 2.
现在我在这里用减法来减法。
Now I have subtraction for subtraction of use here.
我会把这个读给这个做减法。
I would read this to this one to subtraction.
所以减法将是二分之一。
So subtraction will be 1 in 2.
那么吸引力就来了。
So here comes the attraction.
现在由我在船上的力量。
Now by my force in board.
好吧,也许这已经很多了。
Well maybe that's a lot.
我很容易标记以后的分析。
It's easy for me to tag later analysis.
好的。
OK.
所以我的输入是 a 和 b 现在是减法的输出。
So my input is a and b now output of subtraction.
在我报告之前这是一个 M,B 6。
This was an M before I report and B 6.
好的。
OK.
好的。
OK.
这样减法就完成了。
So subtraction is done.
我的师现在是师所以师。
My division is now the division so division.
所以你或我可以写作,这很好。
So you or I can write and that's good.
现在B也在这里。
So is a B now here.
抱歉,现在我要在这里使用下一个 MBA。
Sorry Now here I'm going to use the next MBA.
好的。
OK.
所以我的假期减法和我们需要做的一切就是让人们读一下这篇文章。
So my vacation subtraction and done all we need to are does one read this one.
因此,在我们之前添加 和 B-6。
So and before we be added with and B-6.
所以我们还有另一条指令,之前还有 B-6,所以我将对结果进行排序并完成。
So we have another instruction and before and B-6 so I'm going to sort the result and be done.
所以我已经解决了这部分。
So I have solved this part.
现在,结果将与除法相减。
Now the result will be subtracted with the division divided.
原因是可能是8、10分钟,吃了减法。
The reason is that it was maybe 8 and 10 minutes and ate subtraction.
所以它来了,我们可以找到这个并且是8,这应该是真的。
So it comes and we can find this and be 8 and that is as it should be true.
好的。
All right.
所以我们不要只看这个逻辑,只看结果。
So let's don't let this logic and just the result.
那么我们现在要做的就是斯通指出的并进行监控。
So what we do down from here Stone noted now and go to monitoring.
好的。
OK.
所以我爸爸说我现在归零,什么时候应该投入一些价值。
So my dad says I zero at the moment and when to put some value.
所以该值是 20,然后我们再次检查。
So the value was 20 and then we just checked again.
我想要的是 20,而这是 10。
It was I in want is 20 and this was 10.
所以我将在这里输入十进制 20,在这里我对 narcissi 结果是 0 8。
So I will put here and decimal 20 and here I am to what narcissi the result is this to 0 8.
这怎么办。
How does this.
这是以十六进制显示的。
This is showing in hexadecimal.
9:32 是 220 减 10 是 10 22 大约 10 是 2。
9:32 is two hundred twenty minus 10 is 10 22 and about 10 is 2.
这是200加10等于210208减二有2008。
And this is the 200 plus 10 is 210 208 minus two with two hundred and eight.
这就是我们从最新示例中得到的结果。
So that's the results we get from our latest example.
好的。
OK.
所以您可能已经注意到我在这条指令中使用了很多块。
So you might have noticed I've used so many blocks for this instruction.
现在,如果我必须使用它,那么这就是等于,如果我必须使用计算器指令,它会让我很容易将其变大吗?
Now if I have to use this this is the with equal and if I have to use the calculator instruction does it make it pretty easy for me to make this larger.
因此,您可以使用计算器块并只提供两个输入。
So it is possible you can use a calculator block and just give your two inputs.
你会得到输出。
You'll get the output.
在“走低”块内,您将放置此方程。
And inside the go low block you will put does this equation.
好的,让我们看看如何做到这一点。
OK so let's see how we can do that.
我回到我的 PNC。
I go back to my PNC.
这让我很困惑。
This is puzzling me.
升起正在重新启动,我们将通过删除键升起它。
Raise is relaunching we're going to raise it by a delete key.
好的。
OK.
现在我必须用手术刀来清除这里的堵塞物。
Now I have to use a scalpel in blockages here.
完美的。
Perfect.
一件是我的一件好事。
One is my a good one.
这是皮特。
This is Pete.
看看我能投票什么,然后再次回到 12 岁。
See what I can vote and be 12 again.
现在喜欢这个的总体方程式是什么?
Now what is the overall equation to like this one.
现在你就在这里方程。
Now you're going right here equation.
一个月后就这样了。
So it was in one month.
我愿意。
I do.
所以你可以在一乘二中放入括号。
So you can put a bracket in one multiply by two.
好吧。
Ok then.
好的。
OK.
等一下。
Wait a minute.
我为此使用字节指令。
I'm using a byte instruction for that.
我无法在此使用数学运算。
I cannot use the mathematical operation at this by this one.
所以我必须使用其中之一。
So I have to use either.
好的。
OK.
所以在这里也许我可以做一个和零去老师换这里我们会带你到右边,在这里我会带你到a。
So here maybe I can do a and to zero go to teacher change here as well we'll take you to right and here I'll take you to a.
好的。
All right.
所以我又是一乘以二然后我们有加法。
So again I am one multiply by two and then we have addition.
所以你们俩都从键盘上加,然后我加一减二。
So you both addition from your keyboard then I and one minus two.
然后是减法和一除二。
Then you have subtraction and one divided by two.
这就是要正确回答的问题。
So that's the question to get right.
任何好的。
Any good.
我也开始质疑你的指示是否有更绝对的你可以使用的语言,那没关系。
I begin to question as well if you have your instruction has more absolute you know in words you can use and that's OK.
所以问题就在这里,只是不要按照这个逻辑去做,你就会看到结果。
So the question is here just don't do it this logic and you will see the results.
那么让我改变这个值。
So let me change the value.
你发现的内容与问题 20 中给出的内容相同。
What you find is open to the same as given in the question 20.
这将是 10 秒。
This will be 10 seconds.
是的。
Yeah.
所以这是两个字节序,即 10。
So that's two endian that's 10.
结果是两百零八。
And the result is two hundred and eight.
这与我们在演示中得到的结果相同。
So that's the same result which we get in our presentation.
好的。
OK.
因此,如果您必须从传感器计算一些数学运算,这就是您在逻辑中使用不同数学运算的方法。
So this is how you can use different mathematical operations in your logic if you have to calculate some that from the sensors.
所以这都是关于数学运算和塞曼的。
So this is all about the mathematical operations and Zeeman.
因此,英特尔有一百多个运算符,您可以根据您的要求使用。
So Intel hundred and there are more operators that you can use based on your requirement.
因此,我们还有其他几个数学指令,例如平方,它可以计算指令的平方,就像如果您有七个平方一样,您可以这样做。
So we have several other math instructions such as square it can do the square of your instruction like if you have seven square you can do that.
好的。
OK.
然后你就得到了一个像这样的平方根。
Then you have a square root just like this one.
您可以得到自然对数的结果。
You can have the result the natural logarithm you have.
你已经签署了指数价值,就像你在价值符号中所说的“新 D-NJ”一样。
You have exponential value you have signed like you call saying new D-NJ in value sign.
然后我们就有了我们的标志。
Then we have our sign.
好吧,那么你的反正切值比你的情况越来越差。
Ok then you have arctan down in worse and worse than you have.
你不知道。
You don't.
分数 我们只得到您输入的一小部分,并且您也有指数运算符。
Fraction We only get with a fraction of your input and you have exponentiate operator as well.
这就是神奇的数学指令的全部内容。
So that's all about the magical mathematical instructions.
太感谢了。
Thank you so much.
如果您知道如何让我指挥,并且您正在计算某些内容并且无法计算,您可以在课程中获取此内容的副本,您可以写给我,我可以将方程发送给您。
You can get a copy of this was in addition in the course if you have any idea how you can put me in command and if you are calculating something and you are unable to calculate and you can write me up and I can send you the equation.
好的。
OK.
那么下一个视频。
So the next video.